package com.jlkj.web.shopnew.service;

import com.jlkj.web.shopnew.dto.DateDto;
import com.jlkj.web.shopnew.pojo.Orders;
import cc.s2m.web.utils.webUtils.service.BaseService;
import com.jlkj.web.shopnew.request.GetUserInfoRequest;
import com.jlkj.web.shopnew.request.StatiscRequest;

import java.math.BigDecimal;

public interface IOrders extends BaseService<Orders, Integer> {
    Integer getOrdersCount(StatiscRequest statiscRequest);

    Integer getOrdersCount(StatiscRequest statiscRequest,DateDto dateDto);

    Integer getOrdersCount(int uid , DateDto dateDto);

    BigDecimal getRealPriceCount(StatiscRequest statiscRequest,DateDto dateDto);

    Integer getOrdersAddCount(StatiscRequest statiscRequest, DateDto dateDto);

    BigDecimal getRealPriceAddCount(StatiscRequest statiscRequest, DateDto dateDto);

    int getOrders(GetUserInfoRequest getUserInfoRequest);
}